import { RouteRecordRaw } from 'vue-router'
// 对外暴露配置路由(常量路由)
export const constantRout: RouteRecordRaw[] = [
  {
    path: '/login',
    component: () => import('@/view/login/index.vue'),
    name: 'login',
  },
  {
    path: '/',
    component: () => import('@/view/layout/index.vue'),
    name: 'layout',
  },
  {
    path: '/screen',
    component: () => import('@/view/screen/index.vue'),
    name: 'screen',
  },
  {
    path: '/404',
    component: () => import('@/view/404/index.vue'),
    name: '404',
  },
  {
    path: '/:pathMatch(.*)*',
    redirect: '/404',
    name: 'Any',
  },
]
